package com.kfm.company.mapper;

import com.kfm.company.model.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author ASUS
* @description 针对表【dept】的数据库操作Mapper
* @createDate 2023-11-07 09:22:18
* @Entity com.kfm.company.model.Dept
*/
@Mapper
public interface DeptMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(Integer deptNo);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);

    List<Dept> selectAll();

}
